package com.zed.api.games;

import java.io.Serial;

/**
 * 游戏不支持的指令
 *
 * @author Zed
 */
public class GameActionParamVerifyException extends GameException {


    @Serial
    private static final long serialVersionUID = -3685309325704784983L;

    public GameActionParamVerifyException() {
        super();
    }

    public GameActionParamVerifyException(Action action) {
        super(String.join(",", action.getMustFillParameters()) + "-> 必填");
    }

    public GameActionParamVerifyException(String message, Throwable cause) {
        super(message, cause);
    }

    public GameActionParamVerifyException(Throwable cause) {
        super(cause);
    }

    protected GameActionParamVerifyException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
